﻿using System;

namespace JMcms.Web.Plugin.Favorite.Model
{
    /// <summary>
    /// 收藏:实体类
    /// </summary>
    [Serializable]
    public partial class favorite
    {
        #region Model
        private int _id;
        private string _site_path;
        private string _channel_name;
        private int _article_id;
        private string _article_title;
        private int _user_id;
        private string _user_name;
        private DateTime _add_time=DateTime.Now;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 站点目录
        /// </summary>
        public string site_path
        {
            set { _site_path = value; }
            get { return _site_path; }
        }
        /// <summary>
        /// 频道名称
        /// </summary>
        public string channel_name
        {
            set { _channel_name = value; }
            get { return _channel_name; }
        }
        /// <summary>
        /// 文章ID
        /// </summary>
        public int article_id
        {
            set { _article_id = value; }
            get { return _article_id; }
        }
        /// <summary>
        /// 文章标题
        /// </summary>
        public string article_title
        {
            set { _article_title = value; }
            get { return _article_title; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int user_id
        {
            set { _user_id = value; }
            get { return _user_id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string user_name
        {
            set { _user_name = value; }
            get { return _user_name; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        #endregion
    }
}
